<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
	<title>工作量统计管理</title>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8">
	<meta name="decorator" content="ani"/>
	<%@ include file="/webpage/include/bootstraptable.jsp"%>
	<%@include file="/webpage/include/treeview.jsp" %>
	<script>
        function daochu0() {
            window.location="${ctx}/wms/storageInform/daochu0";
        }
        function daochu() {
            window.location="${ctx}/wms/storageInform/daochu";
        }
        function daochu1() {
            window.location="${ctx}/wms/storageInform/daochu1";
        }
        function daochu2() {
            window.location="${ctx}/wms/storageInform/daochu2";
        }
	</script>
</head>
<body>
	<div class="wrapper wrapper-content">
	<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title">工作量统计</h3>
	</div>
	<div class="panel-body">
		<sys:message content="${message}"/>



		<div class="tabs-container">
			<ul class="nav nav-tabs">
				<li class="active"><a data-toggle="tab" href="#tab-1" aria-expanded="true">当天</a>
				</li>
				<li><a data-toggle="tab" href="#tab-2" aria-expanded="false">本月：</a>
				</li>
				<li><a data-toggle="tab" href="#tab-3" aria-expanded="false">本季度：</a>
				</li>
				<li><a data-toggle="tab" href="#tab-4" aria-expanded="false">本年：</a>
				</li>
			</ul>
			<div class="tab-content">

				<div id="tab-1" class="tab-pane fade in active">
					<div style="height: 10px"></div>
					<button  class="btn btn-success"  onclick="daochu0()">
						导出
					</button>
					<div style="height: 10px"></div>
					<table id="sumTable" class="table table-bordered " data-toolbar="#toolbar">
						<thead>
						<tr>
							<th>职位</th>
							<th>姓名</th>
							<th>作业类型</th>
							<th>出库量</th>
							<th>入库量</th>
						</tr>
						</thead>

						<c:forEach items="${lis}" var="map">
							<tr>
								<td>${map.position}</td>
								<td>${map.name}</td>
								<td>${map.type}</td>
								<td>${map.outAmount}</td>
								<td>${map.amount}</td>
							</tr>
						</c:forEach>
					</table>
				</div>
				<div id="tab-2" class="tab-pane fade ">
					<div style="height: 10px"></div>
					<button  class="btn btn-success"  onclick="daochu()">
						导出
					</button>
					<div style="height: 10px"></div>
					<table id="sumTable2" class="table table-bordered " data-toolbar="#toolbar">
						<thead>
						<tr>
							<th>职位</th>
							<th>姓名</th>
							<th>作业类型</th>
							<th>出库量</th>
							<th>入库量</th>
						</tr>
						</thead>

						<c:forEach items="${lis1}" var="map">
							<tr>
								<td>${map.position}</td>
								<td>${map.name}</td>
								<td>${map.type}</td>
								<td>${map.outAmount}</td>
								<td>${map.amount}</td>
							</tr>
						</c:forEach>
					</table>
				</div>
				<div id="tab-3" class="tab-pane fade ">
					<div style="height: 10px"></div>
					<button  class="btn btn-success"  onclick="daochu1()">
						导出
					</button>
					<div style="height: 10px"></div>
					<table id="sumTable3" class="table table-bordered " data-toolbar="#toolbar">
						<thead>
						<tr>
							<th>职位</th>
							<th>姓名</th>
							<th>作业类型</th>
							<th>出库量</th>
							<th>入库量</th>
						</tr>
						</thead>

						<c:forEach items="${lis2}" var="map">
							<tr>
								<td>${map.position}</td>
								<td>${map.name}</td>
								<td>${map.type}</td>
								<td>${map.outAmount}</td>
								<td>${map.amount}</td>
							</tr>
						</c:forEach>
					</table>
				</div>
				<div id="tab-4" class="tab-pane fade ">
					<div style="height: 10px"></div>
					<button  class="btn btn-success"  onclick="daochu2()">
						导出
					</button>
					<div style="height: 10px"></div>
					<table id="sumTable4" class="table table-bordered " data-toolbar="#toolbar">
						<thead>
						<tr>
							<th>职位</th>
							<th>姓名</th>
							<th>作业类型</th>
							<th>出库量</th>
							<th>入库量</th>
						</tr>
						</thead>

						<c:forEach items="${lis3}" var="map">
							<tr>
								<td>${map.position}</td>
								<td>${map.name}</td>
								<td>${map.type}</td>
								<td>${map.outAmount}</td>
								<td>${map.amount}</td>
							</tr>
						</c:forEach>
					</table>
				</div>
			</div>
		</div>
	<!-- 工具栏 -->

		
	<!-- 表格 -->


    <!-- context menu -->

	</div>
	</div>
	</div>
</body>
</html>